package com.me.forum.dao;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.me.forum.request.RemarkRequest;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.me.forum.domain.Remark;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IRemarkDao extends BaseMapper<Remark> {

    List<Remark> getById(@Param("id")long id);

    int updateById(RemarkRequest rreq);
    
    // IPage<Remark> selectByAll(IPage<Remark> page,@Param("r") RemarkRequest rreq);
	
	IPage<Remark> selectByAll(IPage<Remark> page,@Param("r") RemarkRequest remark);

	
}
